

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbPPPayParams;

namespace JYJ.AiYard.EntityMapper.TbPPPayParamss
{
    public class TbPPPayParamsCfg : IEntityTypeConfiguration<TbPPPayParams>
    {
        public void Configure(EntityTypeBuilder<TbPPPayParams> builder)
        {

            builder.ToTable("Tb_PPPayParams", YoYoAbpefCoreConsts.SchemaNames.Dbo);
                
            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Client_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.pp_appId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.pp_md5Key).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.pp_merchant).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_notifyUrl).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_parkUUID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_platepay).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.pp_returnUrl).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_serverUrl).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_shopsName).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.pp_Stop).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.pp_Type).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.pp_upload).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


